Deploying ServiceLayer
Rename the ServiceLayer war from the distribution to ServiceLayer.war.
Deploy ServiceLayer war in webapps folder of TomEE application server.
Navigate to the bin folder of TomEE and open the command prompt in this location to start the server by using the command:
-
catalina.bat run -windows
-
./catalina.sh start -linux
Test the deployment with the following url:
http://hostname:port/PASService/rest/services/resourcename (resourcename : policies/clients etc)
Note: If you change the context name, use that name in the URL instead of PASService.